﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Products.aspx.cs" Inherits="Products" MasterPageFile="~/MasterPage.master"%>

<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">

            <table cellpadding="0" cellspacing="0" rules="cols" bgcolor="White" width="1100" style="-moz-box-shadow:2px 2px 20px #000000">
               
                <tr>
                     <td>
                         <asp:GridView ID="gv_products" runat="server" CellPadding="4" ForeColor="#333333" 
                             GridLines="None" AllowSorting="True" AutoGenerateColumns="False" 
                              Width="100%" DataSourceID="SqlDataSource1" 
                             onrowdatabound="gv_products_RowDataBound" Font-Names="Arial Narrow" 
                             Font-Size="Medium" HorizontalAlign="Left" >
                             <RowStyle BackColor="#E1EBFF" Font-Names="Arial Narrow" Font-Size="12px" 
                                 ForeColor="#4848A1" HorizontalAlign="Justify" />
                             <Columns>
                                 <asp:BoundField DataField="name" HeaderText="name" 
                                     SortExpression="name" />
                                 <asp:BoundField DataField="descriptionagent" HeaderText="descriptionagent" 
                                     SortExpression="descriptionagent" />
                                 <asp:BoundField DataField="client_fee" HeaderText="client_fee" 
                                     SortExpression="client_fee" />
                             </Columns>
                             <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                             <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                             <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                             <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" 
                                 HorizontalAlign="Left" />
                             <EditRowStyle BackColor="#2461BF" />
                             <AlternatingRowStyle BackColor="White" />
                         </asp:GridView>
                         <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                             ConnectionString="<%$ ConnectionStrings:BDConnectionString %>" 
                             
                             SelectCommand="SELECT [name], [client_fee], [descriptionagent] FROM [PRODUCT] ORDER BY [product_id]">
                         </asp:SqlDataSource>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                </tr>
    </table>

</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="head">

    <style type="text/css">
        .style2
        {
            width: 600px;
        }
        .style3
        {
            width: 200px;
        }
        </style>

</asp:Content>
